home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
bat.zip
/
MENU.BAT
< prev
next >
Wrap
DOS Batch File
|
1984-03-07
|
7KB
|
269 lines
BAT * Jim's Menu
BAT STACK.PURGE
BAT * Labels %9 as the default drive
BAT %9 = %v
BAT -top
BAT CLS |BEGTYPE
\78╔═════════════════════════════════════════════════════════╗\07
\78║ The Menu System for Jim Grettum's Regular Programs. ║\07
\78╚═══════════════════════════╦═════════════════════════════╝\07
╔══════════════════════════════════════╩══════════════════════════════════════╗
║ ║
║ PROGRAMS UTILITIES ║
║ ---------------------------- ------------------------- ║
║ 1. Word Proof Spell Checker. 11. OPEN ║
║ 2. FRee EDitor. 12. OPEN ║
║ 3. 1-2-3 (Lotus) Spread Sheet. 13. OPEN ║
║ 4. MultiMate Word Processing. 14. OPEN ║
║ 5. PC-Talk Communications. 15. Copy Files. ║
║ 6. Peachtree General Ledger. 16. Erase Files. ║
║ 7. Peachtree Connection. 17. Clear Print Spooler. ║
║ 8. OPEN 18. Clock on-off (toggle). ║
║ 9. OPEN 19. Directories. ║
║ 10. OPEN 20. Run an alternate program. ║
║ ║
║ ║
║ U. Additional Utility Menu. X. Exit to system. ║
╚═════════════════════════════════════════════════════════════════════════════╝
end
BAT READ Enter the number of your selection. > %A
BAT IF %a = X GOTO -EXIT
BAT IF %a = U GOTO -UTILITY
BAT IF %a > 0 IF %a < 21 GOTO -opt%a
BAT BEEP |GOTO -top
BAT -opt1
WORDPRF
MENU
BAT -opt2
FRED
MENU
BAT -opt3
TI1
123
TI1
MENU
BAT -opt4
BAT -stateMULTMATE
BAT STATEOF a:HELPMSGS.SAV
BAT IF %R = 0 GOTO -contMULTMATE
BAT CLS |BEEP |BEGTYPE
MULTIMATE's HELPMSGS.SAV is not in Drive A:
Insert \78HELPMSGS.SAV\07 in Drive A:
Enter (\78C\07) for Continue or (\78A\07) for Abort
end
BAT -restartMULTMATE
BAT INKEY %a
BAT IF %a = c goto -stateMULTMATE
BAT IF %a <> a type C (Continue) or A (Abort) |BEEP goto -restartMULTMATE
BAT GOTO -top
BAT -contMULTMATE
ti1
a:
%9:MULTMATE
%9:
ti1
MENU
BAT -opt5
BAT -statePCTALK
BAT STATEOF a:pc-talk.exe
BAT IF %r = 0 goto -contPCTALK
BAT CLS |BEEP |BEGTYPE
PC-TALK is not in Drive A:
Insert \78PC-TALK\07 in Drive A:
Enter (\78C\07) for Continue or (\78A\07) for Abort
end
BAT -restartPCTALK
BAT INKEY %a
BAT IF %a = c GOTO -statePCTALK
BAT IF %a <> a TYPE C (Continue) or A (Abort) |BEEP goto -restartPCTALK
BAT GOTO -top
BAT -contPCTALK
BAT CLS
A:
PC-TALK
%9:
MENU
BAT -opt6
BAT CLS |BEGTYPE
Insert \78GENERAL LEDGER PROGRAM\07 into Drive A:
Insert \78GENERAL LEDGER DATA DISK\07 into Drive B:
Press any key to continue...
end
BAT INKEY
BAT -stateGENLEDG
BAT STATEOF a:GLMENU.DAT
BAT IF %r = 0 goto -contGENLEDG
BAT CLS |BEEP |BEGTYPE
GENERAL LEDGER PROGRAM is not in Drive A:
Insert \78GENERAL LEDGER PROGRAM Disk\07 in Drive A:
Enter (\78C\07) for Continue or (\78A\07) for Abort
end
BAT -restartGENLEDG
BAT inkey %a
BAT IF %a = c goto -stateGENLEDG
BAT IF %a <> a type C (Continue) or A (Abort) |BEEP GOTO -restartGENLEDG
BAT GOTO -top
BAT -contGENLEDG
TI1
A:
ASTCLOCK
BASIC START /C:0/F:5/S:255
ASTCLOCK
%9:
TI1
MENU
BAT -opt7
bat cls
BAT BEGTYPE
Insert the Peachtree Connection Program Disk in Drive A:
Press any key to continue...
end
bat inkey
BAT -stateCONNECT
BAT STATEOF a:connect.exe
BAT IF %r = 0 goto -contCONNECT
BAT CLS |BEEP |BEGTYPE
Connection is not in Drive A:
Insert \78CONNECTION\07 in Drive A:
Enter (\78C\07) for Continue or (\78A\07) for Abort
end
BAT -restartCONNECT
BAT INKEY %a
BAT IF %a = c GOTO -stateCONNECT
BAT IF %a <> a TYPE C (Continue) or A (Abort) |BEEP goto -restartCONNECT
BAT GOTO -top
BAT -contCONNECT
BAT CLS
A:
CONNECT
%9:
MENU
BAT -opt8
MENU
BAT -opt9
MENU
BAT -opt10
MENU
BAT -opt11
MENU
BAT -opt12
MENU
BAT -opt13
MENU
BAT -opt14
MENU
BAT -opt15 * COPYING FILES
BAT CLS
BAT INKEY What is Drive you would like to copy from A, B, C, D > %1 |TYPE %1
BAT IF %1 <> A IF %1 <> B IF %1 <> C IF %1 <> d |BEEP goto -opt15
BAT READ FILE.SPEC for file you would like to COPY. %2
BAT -copyto
BAT INKEY What is Drive you would like to copy to A, B, C, D? > %3 |TYPE %3
BAT IF %3 <> A IF %3 <> B IF %3 <> C IF %3 <> d |BEEP goto -copyto
BAT READ FILE.SPEC for new file. %4
BAT TYPE You are about to COPY %1:%2 to %3:%4
BAT INKEY (A) to abort or any any other key to continue. %a
BAT IF %A = A TYPE aborted |skip 2
COPY %1:%2 %3:%4
BAT
BAT INKEY Do you want to copy more files? (Y) or (N) > %C |IF %C = y |BEEP goto -opt15
MENU
BAT -opt16 * ERASE FILES
BAT CLS
BAT -ERASE
BAT INKEY What drive for files to erase A, B, C, D? > %1 |TYPE %1
BAT IF %1 <> A IF %1 <> B IF %1 <> C IF %1 <> d |BEEP goto -ERASE
BAT READ FILE.SPEC for the file you would like to DELETE. %2
DELETE %1:%2
BAT
BAT INKEY Do you want to erase more files? (Y) or (N) > %d |IF %d = y goto -opt16
MENU
BAT -opt17
BAT CLS
BAT TYPE You are about to clear the print spooler.
BAT INKEY (A) to abort any other key to CONTINUE. %a
BAT IF %A = A TYPE aborted |goto -top
a:superspl /p
MENU
BAT -opt17
MENU
BAT -opt18
TI1
MENU
BAT -opt19
BAT CLS
BAT -DIR
BAT INKEY What is Drive for the Directory? A, B, C, D, > %1 |TYPE %1
BAT IF %1 <> a IF %1 <> b IF %1 <> c IF %1 <> d |BEEP goto -DIR
BAT READ FILE.SPEC for files you would like to see or [ENTER] for all.>%2
BAT IF .%2 = . %2 = *.*/P
BAT -dirques INKEY Would you like (S)tandard or (W)ide directory? > %3|TYPE %3
BAT IF %3 <> s IF %3 <> w GOTO -dirques
BAT %4 =|IF %3 = w %4 = /w
DIR %1:%2 %4
PAUSE
MENU
BAT -opt20
BAT CLS
BAT -NEWPROGRAM
BAT INKEY What is the new default Drive? A, B, C, D > %1 |TYPE %1
BAT IF %1 <> a IF %1 <> b IF %1 <> c IF %1 <> d |BEEP goto -NEWPROGRAM
BAT TYPE What program would you like to run?
BAT READ Sample "BASICA B:FIREFIRE" or "PAC-GIRL". > %2 %3
BAT TYPE The new default drive is %1: and the program is "%2 %3"?
BAT INKEY Y or N > %A |IF %A = y skip 1
BAT SKIP 4
BAT CLS
%1:
%2 %3
%9:
BAT
BAT INKEY Do you want to run another program? Y or N> %a
BAT IF %A <> Y SKIP 1
BAT GOTO -opt20
MENU
BAT -UTILITY
UTILITY
MENU
BAT -EXIT
BAT BEEP |TYPE you are about to exit the menu system.
BAT INKEY (A) to stay in the menu system any other key to exit. > %A
BAT IF %a = a TYPE aborted |GOTO -top
BAT CLS
A:
%9:BAT EXIT